package com.sdry.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sdry.entity.CheckDetail;
import com.sdry.entity.CheckDetailExample;
import com.sdry.entity.PartComponent;

public interface CheckDetailMapper {
    int countByExample(CheckDetailExample example);

    int deleteByExample(CheckDetailExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CheckDetail record);

    int insertSelective(CheckDetail record);

    List<CheckDetail> selectByExample(CheckDetailExample example);

    CheckDetail selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CheckDetail record, @Param("example") CheckDetailExample example);

    int updateByExample(@Param("record") CheckDetail record, @Param("example") CheckDetailExample example);

    int updateByPrimaryKeySelective(CheckDetail record);

    int updateByPrimaryKey(CheckDetail record);

	public List<PartComponent> selectComByArea(String area);
}